<include file="../Public/header" />
<script data-main="__PUBLIC__/admin/js/page/cms/config/index" src="__PUBLIC__/admin/js/lib/requirejs/require.js"></script>
</head>
<body>


		<div id="container" class="page">
			<form id="Form1" name="Form1" method="post" action="{:URL('cms/Config/doSetConfig')}">
				<input type="hidden" id="sid" name="sid" value="{$sid}" />
				<div class="page-hd">
					<h3>基本配置</h3>
					<!-- 站点配置 -->
				</div>
				<div class="form">
					<dl class="kv">
						<dt style="width:220px;">
							<label>设置栏目模版：</label>
							<!-- 网站名称 -->
						</dt>
						<dd>
							<select name="channelTemplate" id="channelTemplate">
								<notempty name="channelslist">
									<volist name="channelslist" id="channel">
										<option value="{$channel.template_name}" <eq name="channel.template_name" value="$channelTemplate">selected</eq>>{$channel.template_name}</option>
									</volist>
								<else/>
									<option value="{$channelTemplate}">{$channelTemplate}</option>
								</notempty>
							</select>
						</dd>
					</dl>
					<dl class="kv">
						<dt style="width:220px;">
							<label>设置内容模版：</label>
							<!-- 网站名称 -->
						</dt>
						<dd>
							<select name="contentTemplate" id="contentTemplate">
								<notempty name="contentslist">
									<volist name="contentslist" id="content">
										<option value="{$content.template_name}" <eq name="content.template_name" value="$contentTemplate">selected</eq>>{$content.template_name}</option>
									</volist>
								<else/>
									<option value="{$contentTemplate}">{$contentTemplate}</option>
								</notempty>
							</select>
						</dd>
					</dl>
					<dl class="kv">
						<dt style="width:220px;">
							<label>栏目页面命名规则：</label>
						</dt>
						<dd>
							<input name="catenaming" type="text" value="{$catenaming}">
						</dd>
					</dl>
					<dl class="kv">
						<dt style="width:220px;">
							<label>内容页面命名规则：</label>
						</dt>
						<dd>
							<input name="artnaming" type="text" value="{$artnaming}">
						</dd>
					</dl>
					<dl class="kv">
						<dt style="width:220px;">
							<label>文件上传保存位置：</label>
						</dt>
						<dd>
							<input name="picSavePath" type="text" value="{$picSavePath}" maxlength="20">
						</dd>
					</dl>
					<dl class="kv">
						<dt style="width:220px;">
							<label>新增或修改栏目后是否自动生成页面：</label>
						</dt>
						<dd>
							<label><input class="s-ck" name="createchannel" type="radio" value="1"
								   <eq name="createchannel" value="1">checked</eq>>是</label>
							<label><input class="s-ck" name="createchannel" type="radio" value="0"
							       <neq name="createchannel" value="1">checked</neq>>否</label><br />
						</dd>
					</dl>
					<dl class="kv">
						<dt style="width:220px;">
							<label>新增或修改内容后是否自动生成页面：</label>
						</dt>
						<dd>
							<label><input class="s-ck" name="createcontent" type="radio" value="1"
								   <eq name="createcontent" value="1">checked</eq>>是</label>
							<label><input class="s-ck" name="createcontent" type="radio" value="0"
								   <neq name="createcontent" value="1">checked</neq>>否</label><br />
						</dd>
					</dl>
				</div>
				<div class="actions">
					<input class="btn_b" type="submit" value="确定"/>
				</div>
			</form>
		</div>
	</body>
</html>